using System;
using System.Collections.Generic;
using System.Text;
using Microsoft.ApplicationBlocks.Data;
using System.Data.SqlClient;
using System.Data;
using System.Configuration;

namespace lu596
{
   public class Connect
    {
       private string strConn = @"Data Source=QUOCSY\SQLEXPRESS;Initial Catalog=ThietBi;User ID=sa;pwd=lequyen";
        //string strSql = "sp_updateTest";
       SqlConnection sqlConnection;
       public Connect()
       {
           try
           {
               sqlConnection = new SqlConnection(strConn);
               sqlConnection.Open();
           }
           catch (System.Exception e)
           {
                
           }
           
       }
       public void Close()
       {
           try
           {
               sqlConnection.Close();
           }
           catch (System.Exception e)
           {

           }
       }
    }
}
